//
//  PHJviewController.swift
//  新浪微博
//
//  Created by jie peng on 16/5/19.
//  Copyright © 2016年 jie peng. All rights reserved.
//

import UIKit

class PHJviewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = UIColor.whiteColor()
//        let back = UIBarButtonItem(imageName: "navigationbar_back_withtext", title: "返回", target: self, action: #selector(PHJviewController.cancelBtnClick))
        
//        self.navigationItem.leftBarButtonItem = back
    }
    
    
    @objc private func cancelBtnClick(){
        
        navigationController?.popViewControllerAnimated(true)
        
    }
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
